package com.chinackts.proceedspayment.importpayment.query;

import com.chinackts.common.validation.DateFormat;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

/**
 * @author Lianhong
 * @since 2021/11/18
 */
public class ImportPaymentQuery {

    @ApiModelProperty("申报开始日期")
//    @NotBlank(message = "申报开始日期不能为空")
    @DateFormat(message = "申报开始日期格式错误，正确格式为yyyy-MM-dd")
    private String saveDateFrom;

    @ApiModelProperty("申报结束日期")
//    @NotBlank(message = "申报结束日期不能为空")
    @DateFormat(message = "申报结束日期格式错误，正确格式为yyyy-MM-dd")
    private String saveDateTo;

    @ApiModelProperty("出口报关单号")
    private String entryId;

    public String getSaveDateFrom() {
        return saveDateFrom;
    }

    public void setSaveDateFrom(String saveDateFrom) {
        this.saveDateFrom = saveDateFrom;
    }

    public String getSaveDateTo() {
        return saveDateTo;
    }

    public void setSaveDateTo(String saveDateTo) {
        this.saveDateTo = saveDateTo;
    }

    public String getEntryId() {
        return entryId;
    }

    public void setEntryId(String entryId) {
        this.entryId = entryId;
    }
}
